package com.vanguard.p2p.business.mapper;

import com.vanguard.p2p.business.domain.RechargeMoney;
import com.vanguard.p2p.business.example.RechargeMoneyExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RechargeMoneyMapper {
    int countByExample(RechargeMoneyExample example);

    int deleteByExample(RechargeMoneyExample example);

    int deleteByPrimaryKey(Long rmId);

    int insert(RechargeMoney record);

    int insertSelective(RechargeMoney record);

    List<RechargeMoney> selectByExample(RechargeMoneyExample example);

    RechargeMoney selectByPrimaryKey(Long rmId);

    int updateByExampleSelective(@Param("record") RechargeMoney record, @Param("example") RechargeMoneyExample example);

    int updateByExample(@Param("record") RechargeMoney record, @Param("example") RechargeMoneyExample example);

    int updateByPrimaryKeySelective(RechargeMoney record);

    int updateByPrimaryKey(RechargeMoney record);
}